/*
 Navicat Premium Data Transfer

 Source Server         : localhost3306
 Source Server Type    : MySQL
 Source Server Version : 50720
 Source Host           : localhost:3306
 Source Schema         : mtat_sku

 Target Server Type    : MySQL
 Target Server Version : 50720
 File Encoding         : 65001

 Date: 04/12/2020 19:52:47
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for mtat_sku
-- ----------------------------
DROP TABLE IF EXISTS `mtat_sku`;
CREATE TABLE `mtat_sku` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
  `title` varchar(255) NOT NULL COMMENT '商品名称',
  `price` double(10,2) NOT NULL COMMENT '单价',
  `num` int(11) NOT NULL COMMENT '数量',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='多线程事务提交与回滚表';

-- ----------------------------
-- Records of mtat_sku
-- ----------------------------
BEGIN;
INSERT INTO `mtat_sku` VALUES (1, 'iphone12', 8000.00, 100);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
